<?php  
class ControllerModuleDisplay extends Controller {
	protected function index($setting) {
		
		
    	$this->load->model('tool/image');
		
		
		$this->data['status']=1;
		
    	
		$this->data['image'] = HTTP_IMAGE.$setting['image'];		

		if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/display.tpl')) {
			$this->template = $this->config->get('config_template') . '/template/module/display.tpl';
		} else {
			$this->template = 'default/template/module/display.tpl';
		}
		
		$this->render();
	}
}
?>